import java.util.Scanner;

public class Test10 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        int num1=Integer.parseInt(str);
        StringBuilder sb= new StringBuilder(str);
        String str02 = sb.reverse().toString();
        int num2=Integer.parseInt(str02);
        System.out.println(num2<num1?"False":"True");
    }
}
